﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace 单例模式
{


    public class SingletonThird
    {

        /// <summary>
        /// 静态变量：
        /// </summary>
        private static SingletonThird _SingletonThird = new SingletonThird();

     
        private SingletonThird()
        {
            
            
        }
        public static SingletonThird CreateInstance()
        {
            return _SingletonThird;
        }
    }
}
